<template>
  <el-card :closable="false" style="width: 100%" :body-style="{padding:'0 10px', background:'#f9f9f0'}">
    {{ modelValue || '--' }}
  </el-card>
</template>

<script setup lang="ts">
import {computed} from "vue";
import type {DaoTypes} from "../../../types/tool/dao.types.ts";
import type {MetaField} from "../../../types/tool/meta.types.ts";

const props = defineProps<{
  modelValue: any,
  disabled: boolean,
  db: DaoTypes,
  field: MetaField
}>();
const emits = defineEmits(['update:modelValue'])
const value = computed({
  get: () => props.modelValue,
  set: (v) => emits('update:modelValue', v)
})

</script>

<style scoped>

</style>